﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace SimpleMediaManager.Controls
{
    public partial class CoverGrid : UserControl
    {
        public string Title
        {
            get
            {
                return labelTitle.Text;
            }

            set
            {
                labelTitle.Text = value;
            }
        }

        public Image Image
        {
            get
            {
                return pictureBoxCover.Image;
            }

            set
            {
                pictureBoxCover.Image = value;
            }
        }

        public Image InitialImage
        {
            get
            {
                return pictureBoxCover.InitialImage;
            }

            set
            {
                pictureBoxCover.InitialImage = value;
            }
        }

        public Image ErrorImage
        {
            get
            {
                return pictureBoxCover.ErrorImage;
            }

            set
            {
                pictureBoxCover.ErrorImage = value;
            }
        }

        public PictureBoxSizeMode SizeMode
        {
            get
            {
                return pictureBoxCover.SizeMode;
            }

            set
            {
                pictureBoxCover.SizeMode = value;
            }
        }

        public CoverGrid()
        {
            InitializeComponent();
        }
    }
}
